<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Work4</title>
    <link rel="stylesheet" href="../css/002reset.css">
    <style type="text/css">
        body{
            float: left;
            text-align: center;
            position: relative;
            left: 50%;
        }

        ul{
            float: left;
            width: 960px;
            height: 40px;
            border: 1px solid #d1d1d1;
            text-align: center; 
            position: absolute; 
            margin-left: -481px;
        }

        a{
            float: left;
            margin: 7px 5px;
            font: normal 12px/24px "Microsoft Yahei";
            border: 1px solid #cfcfcd;
            padding: 0px 9px;
            color: #8190ae;
        }
        
        span{
            float: left;
            margin: 0px 5px;
            font: normal 12px/40px "Microsoft Yahei"; 
            color: #666666;           
        }

        #page{
            width: 16px;
            height: 21px;
            float: left;
            margin: 9px 5px 8px 5px;
            font: normal 12px/21px "Microsoft Yahei";
            border: 1px solid #cfcfcd;
            padding: 0px 7px;
            color: #000;
        }

        #submit{
            float: left;
            margin: 9px 5px 8px 5px;
            font: normal 12px/21px "Microsoft Yahei";
            border: 1px solid #cfcfcd;
            padding: 0px 7px;
            color: #000;
        }

        #previous_page{
            margin-left: 164px;
        }

        a:hover{
            border-color: #f87743;
            color: #f87743;
        }
    </style>
</head>
<body>
    <ul class='con'>
        <a href="" id="previous_page">上一页</a>
        <a href="">1</a>
        <a href="">2</a>
        <a href="">3</a>
        <a href="">4</a>
        <a href="">5</a>
        <a href="">6</a>
        <a href="">7</a>
        <span>...</span>
        <a href="">下一页</a>
        <span>共100页</span>
        <span>到第</span>
        <input type="text" id="page" placeholder="12">
        <span>页</span>
        <input type="button" value="确定" id="submit">
    </ul>
</body>
</html>